3.94 \(\int (\frac{x}{\text{csch}^{\frac{7}{2}}(x)}-\frac{5}{21} x \sqrt{\text{csch}(x)}) \, dx\)

Optimal. Leaf size=47 \[ \frac{20}{63 \text{csch}^{\frac{3}{2}}(x)}-\frac{4}{49 \text{csch}^{\frac{7}{2}}(x)}+\frac{2 x \cosh (x)}{7 \text{csch}^{\frac{5}{2}}(x)}-\frac{10 x \cosh (x)}{21 \sqrt{\text{csch}(x)}} \]

[Out]

-4/(49*Csch[x]^(7/2)) + (2*x*Cosh[x])/(7*Csch[x]^(5/2)) + 20/(63*Csch[x]^(3/2)) - (10*x*Cosh[x])/(21*Sqrt[Csch
[x]])

________________________________________________________________________________________

Rubi [A]  time = 0.129631, antiderivative size = 47, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1, Rules used = {4187, 4189} \[ \frac{20}{63 \text{csch}^{\frac{3}{2}}(x)}-\frac{4}{49 \text{csch}^{\frac{7}{2}}(x)}+\frac{2 x \cosh (x)}{7 \text{csch}^{\frac{5}{2}}(x)}-\frac{10 x \cosh (x)}{21 \sqrt{\text{csch}(x)}} \]

Antiderivative was successfully verified.

[In]

Int[x/Csch[x]^(7/2) - (5*x*Sqrt[Csch[x]])/21,x]

[Out]

-4/(49*Csch[x]^(7/2)) + (2*x*Cosh[x])/(7*Csch[x]^(5/2)) + 20/(63*Csch[x]^(3/2)) - (10*x*Cosh[x])/(21*Sqrt[Csch
[x]])

Rule 4187

Int[(csc[(e_.) + (f_.)*(x_)]*(b_.))^(n_)*((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(d*(b*Csc[e + f*x])^n)/(f^2*n
^2), x] + (Dist[(n + 1)/(b^2*n), Int[(c + d*x)*(b*Csc[e + f*x])^(n + 2), x], x] + Simp[((c + d*x)*Cos[e + f*x]
*(b*Csc[e + f*x])^(n + 1))/(b*f*n), x]) /; FreeQ[{b, c, d, e, f}, x] && LtQ[n, -1]

Rule 4189

Int[(csc[(e_.) + (f_.)*(x_)]*(b_.))^(n_)*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Dist[(b*Sin[e + f*x])^n*(b*C
sc[e + f*x])^n, Int[(c + d*x)^m/(b*Sin[e + f*x])^n, x], x] /; FreeQ[{b, c, d, e, f, m, n}, x] &&  !IntegerQ[n]

Rubi steps

\begin{align*} \int \left (\frac{x}{\text{csch}^{\frac{7}{2}}(x)}-\frac{5}{21} x \sqrt{\text{csch}(x)}\right ) \, dx &=-\left (\frac{5}{21} \int x \sqrt{\text{csch}(x)} \, dx\right )+\int \frac{x}{\text{csch}^{\frac{7}{2}}(x)} \, dx\\ &=-\frac{4}{49 \text{csch}^{\frac{7}{2}}(x)}+\frac{2 x \cosh (x)}{7 \text{csch}^{\frac{5}{2}}(x)}-\frac{5}{7} \int \frac{x}{\text{csch}^{\frac{3}{2}}(x)} \, dx-\frac{1}{21} \left (5 \sqrt{\text{csch}(x)} \sqrt{-\sinh (x)}\right ) \int \frac{x}{\sqrt{-\sinh (x)}} \, dx\\ &=-\frac{4}{49 \text{csch}^{\frac{7}{2}}(x)}+\frac{2 x \cosh (x)}{7 \text{csch}^{\frac{5}{2}}(x)}+\frac{20}{63 \text{csch}^{\frac{3}{2}}(x)}-\frac{10 x \cosh (x)}{21 \sqrt{\text{csch}(x)}}+\frac{5}{21} \int x \sqrt{\text{csch}(x)} \, dx-\frac{1}{21} \left (5 \sqrt{\text{csch}(x)} \sqrt{-\sinh (x)}\right ) \int \frac{x}{\sqrt{-\sinh (x)}} \, dx\\ &=-\frac{4}{49 \text{csch}^{\frac{7}{2}}(x)}+\frac{2 x \cosh (x)}{7 \text{csch}^{\frac{5}{2}}(x)}+\frac{20}{63 \text{csch}^{\frac{3}{2}}(x)}-\frac{10 x \cosh (x)}{21 \sqrt{\text{csch}(x)}}\\ \end{align*}

Mathematica [A]  time = 0.109528, size = 45, normalized size = 0.96 \[ \sqrt{\text{csch}(x)} \left (-\frac{13}{42} x \sinh (2 x)+\frac{1}{28} x \sinh (4 x)+\frac{88}{441} \cosh (2 x)-\frac{1}{98} \cosh (4 x)-\frac{167}{882}\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[x/Csch[x]^(7/2) - (5*x*Sqrt[Csch[x]])/21,x]

[Out]

Sqrt[Csch[x]]*(-167/882 + (88*Cosh[2*x])/441 - Cosh[4*x]/98 - (13*x*Sinh[2*x])/42 + (x*Sinh[4*x])/28)

________________________________________________________________________________________

Maple [F]  time = 0.081, size = 0, normalized size = 0. \begin{align*} \int{x \left ({\rm csch} \left (x\right ) \right ) ^{-{\frac{7}{2}}}}-{\frac{5\,x}{21}\sqrt{{\rm csch} \left (x\right )}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/csch(x)^(7/2)-5/21*x*csch(x)^(1/2),x)

[Out]

int(x/csch(x)^(7/2)-5/21*x*csch(x)^(1/2),x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{5}{21} \, x \sqrt{\operatorname{csch}\left (x\right )} + \frac{x}{\operatorname{csch}\left (x\right )^{\frac{7}{2}}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/csch(x)^(7/2)-5/21*x*csch(x)^(1/2),x, algorithm="maxima")

[Out]

integrate(-5/21*x*sqrt(csch(x)) + x/csch(x)^(7/2), x)

________________________________________________________________________________________

Fricas [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/csch(x)^(7/2)-5/21*x*csch(x)^(1/2),x, algorithm="fricas")

[Out]

Exception raised: UnboundLocalError

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} - \frac{\int - \frac{21 x}{\operatorname{csch}^{\frac{7}{2}}{\left (x \right )}}\, dx + \int 5 x \sqrt{\operatorname{csch}{\left (x \right )}}\, dx}{21} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/csch(x)**(7/2)-5/21*x*csch(x)**(1/2),x)

[Out]

-(Integral(-21*x/csch(x)**(7/2), x) + Integral(5*x*sqrt(csch(x)), x))/21

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{5}{21} \, x \sqrt{\operatorname{csch}\left (x\right )} + \frac{x}{\operatorname{csch}\left (x\right )^{\frac{7}{2}}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/csch(x)^(7/2)-5/21*x*csch(x)^(1/2),x, algorithm="giac")

[Out]

integrate(-5/21*x*sqrt(csch(x)) + x/csch(x)^(7/2), x)